package com.woniuxy.lrz.carlproject.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.lrz.carlproject.controller.form.formcar.CarAddOrUpdateForm;
import com.woniuxy.lrz.carlproject.controller.form.formcar.CarDetailsAddOrUpdateForm;
import com.woniuxy.lrz.carlproject.controller.form.shopform.formcar.CarDetailsFindForm;
import com.woniuxy.lrz.carlproject.model.CarDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.lrz.carlproject.service.dto.dtocar.CarDetailsTypeBrandDto;

import java.util.ArrayList;

/**
 * <p>
 * 车型详情表 服务类
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
public interface CarDetailService extends IService<CarDetail> {


    boolean addOrUpdateCarDetail(CarDetailsAddOrUpdateForm carDetailsAddOrUpdateForm);

    boolean deleteCarDetails(Integer carDetailsId);

    Page<CarDetailsTypeBrandDto> findCarDetails(CarDetailsFindForm carDetailsFindForm);
}
